package cn.jeeweb.modules.web.labor.mapper;

import cn.jeeweb.modules.web.labor.content.HuLaborContent;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import cn.jeeweb.modules.web.labor.entity.HuLabor;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**   
 * @Title: hu_labor数据库控制层接口
 * @Description: hu_labor数据库控制层接口
 * @author rql
 * @date 2018-02-27 17:50:24
 * @version V1.0   
 *
 */
@Repository
public interface HuLaborMapper extends BaseMapper<HuLabor> {

    List<HuLabor> selectPoorList();

    Integer selectCount();
    //按照劳动力文化程度统计
    List<Map<String, String>> selectCountByEducation();
    //按照劳动力性别统计
    List<Map<String, String>> selectCountBySex();

    List<HuLaborContent> selectAllList(Pagination page);
}